#!/bin/sh

from_to=$1
shift
echo a|konwert "$from_to" > /dev/null ||
    exit $?

for f in "$@"
do
    n=$(echo "$f"|konwert $from_to)
    if [ "$n" != "$f" ]
    then
        echo "$n"
        mv -i "$f" "$n"
    fi
done
